Dictionary.app in Sierra keeps crashing

Dear Community. Have any of you experienced a frequent crashing of the Dictionary.app under Sierra? Since the upgrade, both from El Capitan and from a clean-install, the app crashed every four to five queries. The crash report I sent to Apple looks like this:


Process: Dictionary [460]
Path: /Applications/Dictionary.app/Contents/MacOS/Dictionary
Identifier: com.apple.Dictionary
Version: 2.2.1 (194)
Build Info: DictionaryApplications_executables-194000000000000~32
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Dictionary [460]
User ID: 501


Date/Time: 2016-09-24 22:01:44.115 +0200
OS Version: Mac OS X 10.12 (16A323)
Report Version: 12
Anonymous UUID: 1D95CE3C-62ED-6B78-326A-950056F60975



Time Awake Since Boot: 4700 seconds


System Integrity Protection: enabled


Crashed Thread: 0 Dispatch queue: com.apple.main-thread


Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000030041dd9bec0
Exception Note: EXC_CORPSE_NOTIFY


Do any of you have an idea what's going on here please? And any solution will be appreciated. Thank you!

MacBook Pro 13.3 inch 2.53 Gz, Mac OS X (10.7)

Posted on Sep 24, 2016 1:08 PM

Reply
29 replies

May 19, 2017 8:29 AM in response to dgg32

Hi,


I updated my OS from El Capitan to Sierra a few days ago and soon I found Dictionary.app doesn't work.

It always crashes by the segmentation fault (SEGV) at startup. 100% reproducible. It seems to access NULL pointer.


Exception Type: EXC_BAD_ACCESS (SIGSEGV)

Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000


Dictionary.app version is 2.2.1 (194), and OS version is 10.12.5 (16F73).


I had installed (or enabled) non-default dictionaries several years ago. I don't remember the details but I think I had modified some configuration file (I forgot the filetype but possibly it was an XML file) manually with vim command.

I wonder if it would be the cause of the problem. But I cannot confirm.

Does somebody know the location of the configuration file of Dictionary.app?


Another thing I noticed is that /Library/Dictionaries (not ~/Library/Dictionary) directory has gone. I tried to copy the /Library/Dictionaries from my secondary Mac running El Capitan, but it didn't make any change (so I removed the copied directory).

Can somebody tell the valid location of the collection of dictionaries (for Dictionary.app) on Sierra?

May 19, 2017 9:39 AM in response to Ryujiro

Self replying. I could fix it, at least in my case.


I switched to the sub-user account, who has never used Dictionary.app, and launched Dictionary.app.

It didn't cause SEGV. It showed a dialog to confirm starting of download of some dictionaries.


I switched back to the main-user account and copied Dictionary.app configuration files from sub-user's directory.

$ sudo cp /Users/_sub_user_/Library/Caches/com.apple.DictionaryServices/DictionaryCache.p list /tmp/

$ cd ~/Library/Caches/com.apple.DictionaryServices

$ mv DictionaryCache.plist DictionaryCache.plist.backup

$ cp /tmp/DictionaryCache.plist ./

$ sudo cp /Users/_sub_user_/Library/Preferences/com.apple.DictionaryServices.plist /tmp/

$ cd ~/Library/Preferences

$ mv com.apple.DictionaryServices.plist com.apple.DictionaryServices.plist.backup

$ cp /tmp/com.apple.DictionaryServices.plist ./


But the Dictionary.app was still crashing with same SEGV at this point.


I tried logout-and-logon of the main-user account, but this was not effective.


Next, I restarted the system, and logon with the main-user account. Then Dictionary.app started successfully!

It started to download some additional dictionaries, after a confirmation dialog. So I suppose there is another config file to store enabled dictionary list that I couldn't find.


By the way, I found the configuration file what I was looking (as above) and the way to edit it as XML was this:

$ cd ~/Library/Preferences

$ cp -p com.apple.DictionaryServices.plist com.apple.DictionaryServices.plist.backup

$ plutil -convert xml1 com.apple.DictionaryServices.plist

$ vim com.apple.DictionaryServices.plist

$ plutil -convert binary1 com.apple.DictionaryServices.plist

Oct 27, 2016 7:57 AM in response to jeffflash

You have "clean my mac" and it is impossible to say how much it has already damaged your system.

NEVER use programs that claim to "clean" stuff out of your mac. They delete things that should be left alone.

They interfere with how the OS manages memory, degrading performance and causing crashes.

You may try uninstalling but that may not be enough, as the damage has already been done.



You really should do a clean install of your system, test temporarily, then migrate only user accounts, but not settings or applications (lest you bring back the very stuff that hosed your system).

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Dictionary.app in Sierra keeps crashing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.